﻿<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../src/mixins/style/normalize.css" />
    <link rel="stylesheet" href="../src/lib/font-awesome/css/font-awesome.css">

    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/element-ui/2.0.11/theme-chalk/index.css">
    <link rel="stylesheet" href="../src/mixins/style/base.css" />


    <style>
        .container {
            width: 1100px;
        }

    </style>

</head>

<body>



    <div class="container" id="app">


        <div class="clearfix">

            <m-card class="mt_10" title="基本信息">
                <el-form ref="form" model="articleView" label-width="200px">
                    <el-form-item label="标题">
                        <el-input v-model="articleView.Title"></el-input>
                    </el-form-item>
                    <el-form-item label="副标题">
                        <el-input v-model="articleView.SubTitle"></el-input>
                    </el-form-item>
                    <el-form-item label="关键字">
                        <el-input v-model="articleView.KeyWord"></el-input>
                    </el-form-item>
                    <!--<el-form-item label="类型">
                        <el-cascader :options="categoryArr"  :label="Name" :value="Id"  v-model="selectedOptions" @change="handleChange">
                        </el-cascader>
                    </el-form-item>-->

                    <el-form-item label="类型">
                        <el-input v-model="articleView.CategoryId"></el-input>
                    </el-form-item>

                    <el-form-item label="有效性">
                        <el-select v-model="articleView.DataFlag" placeholder="请选择有效性">
                            <el-option label="有效" value="1"></el-option>
                            <el-option label="无效" value="0"></el-option>
                        </el-select>
                    </el-form-item>
                    <el-form-item label="是否删除">
                        <el-select v-model="articleView.IsDel" placeholder="请选择是否删除">
                            <el-option label="否" value="0"></el-option>
                            <el-option label="是" value="1"></el-option>
                        </el-select>
                    </el-form-item>
                    <el-form-item label="摘要">
                        <el-input type="textarea" v-model="articleView.Summary"></el-input>
                    </el-form-item>
                    <el-form-item>
                        <el-button type="primary" @click="onSubmit">立即创建</el-button>
                        <el-button>取消</el-button>
                    </el-form-item>
                </el-form>
            </m-card>

        </div>



    </div>


    <script src="../src/lib/jquery.js"></script>
    <script src="../src/lib/sea-all.js"></script>

    <script src="../src/lib/vue.js"></script>
    <script src="../src/lib/vue-router.js"></script>

    <script src="../boot.js"></script>
    <script src="../src/lib/lodash.js"></script>

    <!-- <link rel="stylesheet" href="../src/lib/elementui/index.css">
    <script src="../src/lib/elementui/index.js"></script> -->

    <!-- 引入组件库 -->
    <script src="https://cdn.bootcss.com/element-ui/2.0.11/index.js"></script>



    <link rel="stylesheet" href="../src/lib/toastr/toastr.css" />
    <script src="../src/lib/toastr/toastr.min.js"></script>

    <script src="../src/mixins/global.mixins.js"></script>

    <script src="../src/lib/jquery.json.js"></script>

    <script>
        $(function() {
            seajs.use('./ArticleBasicEdit.js');
        });
    </script>


</body>